﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Firefly.ExtensionMethods
{
    public static class ViewportExtensions
    {
        public static Rectangle ToRectangle(this Viewport obj)
        {
            return new Rectangle(0, 0, obj.Width, obj.Height);
        }
    }
}
